package com.sloera.springcloud.service.impl;

import com.sloera.springcloud.service.PaymentHystrixService;
import org.springframework.stereotype.Component;

/**
 * @auther sloera
 * @create 2020/4/1
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {
    @Override
    public String paymentInfoOk(Integer id) {
        return "PaymentFallbackService    paymentInfoOk   fallback   ";
    }

    @Override
    public String paymentInfoTimeOut(Integer id) {
        return "PaymentFallbackService    paymentInfoTimeOut   fallback   ";
    }
}
